﻿<?xml version="1.0" encoding="utf-8" ?>
<resourceMetadata>
  <name>Borrower</name>
  <uriTemplates>
    <POST>loans/{loanNumber}/borrowers</POST>
    <GET>loans/{loanNumber}/borrowers/{borrowerId}</GET>
  </uriTemplates>
  <className>BorrowerDto</className>
  <field>
    <name>id</name>
    <type>int?</type>
  </field>
  <field>
    <name>isPrimary</name>
    <type>bool</type>
  </field>
  <field>
    <name>firstName</name>
  </field>
  <field>
    <name>middleName</name>
  </field>
  <field>
    <name>lastName</name>
  </field>
  <field>
    <name>suffix</name>
  </field>
  <field>
    <name>ssn</name>
  </field>
  <field>
    <name>phoneNumber</name>
  </field>
  <field>
    <name>phoneType</name>
  </field>
  <field>
    <name>dateOfBirth</name>
    <type>DateTime?</type>
  </field>
  <field>
    <name>maritalStatus</name>
  </field>
  <field>
    <name>yearsOfSchool</name>
    <type>int?</type>
  </field>
  <field>
    <name>isFirstTimeBuyer</name>
    <type>bool</type>
  </field>
  <field>
    <name>totalMonthlyIncome</name>
    <type>decimal</type>
  </field>
</resourceMetadata>
